package it.fuesi.synoutils.model.download;

import java.util.List;

import it.fuesi.synoutils.model.base.ADataObject;

/**
 * Created by pascotto on 16/10/14.
 */
public class DownloadTasksListDataObject extends ADataObject {

    private int offeset;
    private int total;
    private List<DownloadTask> tasks;
    private TaskTransfer info;


    public int getOffeset() {
        return offeset;
    }

    public void setOffeset(int offeset) {
        this.offeset = offeset;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<DownloadTask> getTasks() {
        return tasks;
    }

    public void setTasks(List<DownloadTask> tasks) {
        this.tasks = tasks;
    }

    public void setInfo(TaskTransfer info){
        this.info = info;
    }

    public TaskTransfer getInfo(){
        return this.info;
    }
}
